﻿using System;
using System.ComponentModel.DataAnnotations;

namespace DEL.Gzh
{
    //违法举报（随手拍)
    public class WFJB:BaseT
    {
        [Display(Name = "违法行为")]
        [Required(ErrorMessage = "违法行为不能为空")]        
        public string Wfxw { get; set; }

        [Display(Name = "违法地点")]        
        public string Wfdd { get; set; }

        [Display(Name = "举报内容")]
        [Required(ErrorMessage = "举报内容不能为空")]        
        public string Qksm { get; set; }

        [Display(Name = "违法证据")]
        [MaxLength(500, ErrorMessage = "图片最多不超过12张")]
        public string Wfzj { get; set; }

        [Display(Name = "违法行为辖区")]
        [Required(ErrorMessage = "违法行为辖区不能为空")]
        public string Xqxz { get; set; }

        [Display(Name = "违法对象类型")]
        public string CarType { get; set; }

        [Display(Name = "违法对象名称（车牌、姓名）")]
        public string CarHp { get; set; }

        [Display(Name = "举报人姓名")]
        public string Name { get; set; }

        [Display(Name = "举报人身份证")]
        public string IdNumber { get; set; }

        [Display(Name = "举报人电话")]
        public string Tel { get; set; }

        [Display(Name = "是否有用")]
        public bool IsUse { get; set; }

        [Display(Name = "处理人")]
        public string UsePolice { get; set; }

        //[Display(Name = "处理时间")]
        //public DateTime? UseTime { get; set; }

        
    }
}
